package cn.quang.search.admin.mapper;

import cn.quang.search.admin.entity.po.SearchSceneContextConfig;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author:  Entity Generator
 * @since:  2024-03-26 15:24:47
 */
public interface SearchSceneContextConfigMapper extends BaseMapper<SearchSceneContextConfig> {

    @Select(
            " SELECT * FROM search_scene_context_config WHERE scene_id = #{sceneId} "
    )
    List<SearchSceneContextConfig> selectBySceneId(@Param("sceneId") long sceneId);
}
